package com.zzzyh.forumsystemclient.services;

import com.zzzyh.forumsystemclient.model.Comment;

import java.util.List;

public interface ICommentService {
    List<Comment> list(int pageNum, int pageSize, Long articleId);

    Integer total(Long articleId);

    void add(Comment comment);

    List<Comment> getCommentList(Integer pageNum, Integer pageSize, Integer id);

    Integer getTotalByUserId(Integer id);

    List<Comment> myReply(Integer id,Integer pageNum, Integer pageSize, String title);

    Integer getReplyTotal(Integer id);

    void delMyComment(Integer commentId);
}
